package com.fwmagic.springcloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: fangw
 * @Date: 2022/9/2
 **/
@RestController
@RequestMapping("/prop")
public class PropertiesRefreshController {

    @Value("${ranger.user}")
    private String rangerUser;


    @GetMapping("/get")
    public String getRangerUser() {
        return "ranger user is :" + rangerUser;
    }
}
